﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter11.Code01.Code03
{
    public class Demo
    {
        public static void Bigin()
        {
            Animals animalCollection = new Animals();
            animalCollection.Add(new Cow("Jack"));
            animalCollection[0].Feed();
            Console.ReadLine();
        }
    }
}
